package com.example.dao;

import com.example.entity.Admin;
import com.example.entity.Paper;
import com.example.entity.Params;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface PaperDao extends Mapper<Paper> {
    List<Paper> findBySearch(@Param("params") Params params);


    Paper findAnswer(Integer paperId);

    List<Paper> findAll2();

    Integer findTypeId(String typeName);

    Integer findNumber(String name);
}
